package com.sicnu.estatemanagement.service;

import com.github.pagehelper.Page;
import com.sicnu.estatemanagement.domain.Complaint;

import java.util.List;
import java.util.Map;

public interface ComplaintService {

    List<Complaint> findAll();

    Page<Complaint> search(Map searchMap);

    Boolean add(Complaint Complaint);

    Complaint findById(Integer id);

    Boolean update(Complaint Complaint);

    Boolean del(List<Integer> ids);
}
